#include "common.h"
#include "Monster.hpp"


class Hero
{
public:
	Hero()
	{
		_bleed = 200;
		_state = SAFE;
	}

	void Attack(Monster& monster, int level)
	{
		monster.Attacked(LIGHT);
	}

	void Defense()
	{
		_state = DEFENSE;
	}

	void Attacked(int strength = 10)
	{
		if (_state == DEFENSE)
			_bleed -= strength - 5;
		else
			_bleed -= strength;
	}
private:
	int _bleed;
	int _state;
};




